/**
* 功能描述：图表容器工厂（递归渲染图表）
* @author jin xiaohang
* @date 2022/9/26 16:33
* @version 1.0
*/
<template>
    <div v-if="options.children">
        <template v-for="item in options.children">
            <yw-chart-content :options="item"></yw-chart-content>
        </template>
    </div>
    <yw-base-container :options="options"></yw-base-container>
</template>

<script>
import YwBaseChart from "../Chart/index.vue";
import YwBaseContainer from "../Container/index.vue";
export default {
    name: "ywChartContent",
    components: {YwBaseContainer, YwBaseChart},
    props: {
        options: {
            type: Object,
            default: () => {
            },
        }
    }
}
</script>

<style scoped>

</style>